package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * @author ：zfr
 * @date ：2021/3/29 17:16
 */
@FieldTypeAnnotation(tableName = "t_l_ck_drawpictures_activity_pic", desc = "绘年画抽取日志", autoSave = true, uploadCk = true)
public class LogDrawPictures extends ServerBaseLog{
    @FieldTypeAnnotation(isIndex = true,desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(desc = "年画id")
    private int picturesId;
    @FieldTypeAnnotation(desc = "是否获得")
    private boolean isGet;
    @FieldTypeAnnotation(desc = "先前值")
    private long preCount;
    @FieldTypeAnnotation(desc = "数量")
    private long targetCount;
    @FieldTypeAnnotation(desc = "当前值")
    private long curCount;


    public LogDrawPictures(long userId, int activityId, int picturesId, boolean isGet, long preCount, long targetCount, long curCount) {
        this.userId = userId;
        this.activityId = activityId;
        this.picturesId = picturesId;
        this.isGet = isGet;
        this.preCount = preCount;
        this.targetCount = targetCount;
        this.curCount = curCount;

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getPicturesId() {
        return picturesId;
    }

    public void setPicturesId(int picturesId) {
        this.picturesId = picturesId;
    }

    public boolean isGet() {
        return isGet;
    }

    public void setGet(boolean get) {
        isGet = get;
    }

    public long getPreCount() {
        return preCount;
    }

    public void setPreCount(long preCount) {
        this.preCount = preCount;
    }

    public long getTargetCount() {
        return targetCount;
    }

    public void setTargetCount(long targetCount) {
        this.targetCount = targetCount;
    }

    public long getCurCount() {
        return curCount;
    }

    public void setCurCount(long curCount) {
        this.curCount = curCount;
    }


}
